<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import="java.util.ArrayList, com.wavecoler.professor.objects.Problem"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>      
    <script src="https://www.google.com/jsapi?key=ABQIAAAArojDbZN_1D1lRSEtSekWZhRFGtW23A3-Wsxu5rjaioWE9UBwsBSe29gq1LxFlEmz5nMQzLOtnCFYSw" type="text/javascript"></script>
	<script src="http://dl.dropbox.com/u/23424038/embed.js" type="text/javascript"></script> 
    <!--  <script src="_scripts/jquery-1.6.1.min.js" type="text/javascript"></script>
  	<script src="_scripts/core_rpc.js" type="text/javascript"></script>
	<script src="_scripts/embed.js" type="text/javascript"></script>	
	<script src="_scripts/index.js" type="text/javascript"></script>-->    
    <title>Solo WavePanel</title>
    <% Problem problemita = (Problem)session.getAttribute("Problema"); %>
    <script type="text/javascript">
    var waveIndivPanel, waveColabPanel, waveCommunicationPanel;
    function initialize() {  
 	  
 	   waveIndivPanel = new WavePanel('http://wavecoler.lag.itesm.mx:9898/#wavecoler.lag.itesm.mx/<%= problemita.getUrlPage() %>/~/conv+root/b+56g9CKATrID');   // Se crea un objeto wave panel desde la direccion de google.com/wave/
       waveIndivPanel.loadWave('conv+root/b+56g9CKATrID');
       waveIndivPanel.init(document.getElementById('div_WavePanel'));   

     }    
    </script>
  </head>
  <body onload="initialize()">
    <div id="div_Contenedor">    
    <div id="div_Tapar" style="background-color:#f1f0ff; width:409px; height:660px; margin-top:35px; position:absolute;">
    <p><%= problemita.getProblemId() %></p>
    <p><%= problemita.getDescription() %></p>
    <p><%= problemita.getUrlPage() %></p>
    </div>
	<div id="div_WavePanel"></div>	 
    </div>
    
  </body>
</html>

